package com.asset.bill.service.impl;

import com.asset.bill.biz.IBillBiz;
import com.asset.bill.dao.entity.BillEntity;
import com.asset.bill.form.BillForm;
import com.asset.bill.form.BillQueryForm;
import com.asset.bill.service.IBillService;
import com.asset.common.pageform.PageForm;
import com.asset.common.result.ResultMsg;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * todo 描述
 * </p>
 *
 * @author 牧之
 * @date 2024/10/12 21:42
 */
@Service
public class BillServiceImpl implements IBillService {

    @Autowired
    private IBillBiz billBiz;

    @Override
    public PageForm getBillList(BillQueryForm queyForm) {
        return billBiz.getBillList(queyForm);
    }

    @Override
    public ResultMsg updateBill(BillForm billForm) {
        return billBiz.updateBill(billForm);
    }

    @Override
    public ResultMsg deleteById(Long billId) {
        return billBiz.deleteById(billId);
    }

    @Override
    public BillEntity getBillById(Long billId) {
        return billBiz.getBillById(billId);
    }
}
